import React from 'react';
import { getControl, getOptions } from '../../../Zform/controls';

export default {
    label: '承接值控件', //控件类型名称
    value: 24, //类型值
    getFieldPropertiesFormItems({ formItemsRef: itemsRef, componentList: controlList }) {
        return [
            {
                key: 'catchKey',
                label: '承接值的来源key',
                show: false,
                labelFocused: true,
                render() {
                    return getControl('Input');
                },
                options: getOptions({ required: true, initialValue: null }),
            },
        ];
    },
};
